﻿@model Article
@{
    string[] tags = new string[0];
    if (!string.IsNullOrEmpty(Model.Tags))
    {
        tags = Model.Tags.Split(',');
    }

    if (tags.Length > 0)
    {
    <ul class="d-horizontal-list">
        <li>
            @Ajax.Dna().Link("javascript:void(0);").LocText("publishing", "Tags").ImageIcons(Url.Content("~/Content/Images/tag_green_16.png")).GetHtml()
        </li>
        @foreach (var tag in tags)
        {
            <li>
                @Publishing.TagLink(tag)
            </li>
        }
    </ul>
    }
}
